From 710cd6ce97b54f7733a8f48ba69c2a0b13140b96 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 9 Apr 2009 08:45:32 +0100 Subject: [PATCH] xend: fix a typo in pciif so PciController.unwatchAerState() works Signed-off-by: Kouya Shimura --- tools/python/xen/xend/server/pciif.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/server/pciif.py b/tools/python/xen/xend/server/pciif.py index 730274c31b..1579262459 100644 --- a/tools/python/xen/xend/server/pciif.py +++ b/tools/python/xen/xend/server/pciif.py @@ -454,7 +454,7 @@ class PciController(DevController): for (domain, bus, slot, func) in pci_dev_list: self.setupOneDevice(domain, bus, slot, func) wPath = '/local/domain/0/backend/pci/%u/0/aerState' % (self.getDomid()) - self.aerStatePath = xswatch(wPath, self._handleAerStateWatch) + self.aerStateWatch = xswatch(wPath, self._handleAerStateWatch) log.debug('pci: register aer watch %s', wPath) return @@ -590,7 +590,7 @@ class PciController(DevController): def destroyDevice(self, devid, force): DevController.destroyDevice(self, devid, True) log.debug('pci: unregister aer watch') - self.unwatchAerState + self.unwatchAerState() def unwatchAerState(self): """Remove the watch on the domain's aerState node, if any.""" -- 2.30.2